home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17894 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.itsnet.com!anderson
  2. From: mri@itsnet.com (Kelly Anderson)
  3. Newsgroups: comp.lang.c++
  4. Subject: What happened to VGA.LIB in 1.52, ClearScreen() reboots DOS
  5. Date: Wed, 17 Apr 96 20:39:21 GMT
  6. Organization: Internet Technology Systems, Provo UT USA
  7. Distribution: world
  8. Message-ID: <4l3hio$13b@itchy.itsnet.com>
  9. NNTP-Posting-Host: ip147.itsnet.com
  10. X-Newsreader: News Xpress Version 1.0 Beta #1
  11.  
  12. I have the unenviable task of maintaining some old DOS code, and I ran into a little problem.
  13.  
  14. The code was written and compiled in Microsoft C 7.0. It used VGA.LIB from that distribution
  15. to do some VGA DOS graphics. I ported the code to VC++ 1.52, However, it appears that
  16. VGA.LIB is no longer in Visual C++ 1.52c (the current version).
  17.  
  18. OK, no problem, I copied the VGA.LIB from the C7 distribution and linked it in using 1.52,
  19. hoping that would be good enough. However, when I execute the program, on its first call
  20. to ClearScreen, it reboots the computer.
  21.  
  22. It is a regular DOS machine without any hint of Windows on the machine.
  23.  
  24. Does anyone know what the recommended way of accessing the DOS graphics screen is now?
  25. (I assume it would be with the routines in grahics.h)
  26.  
  27. Is the VGA.LIB incompatible with 1.52 for some reason?
  28.  
  29. Any hints or other ideas appreciated.
  30.  
  31. -Kelly
  32.  
  33.  
  34.